Convert pdf to jpeg, Chinese garbled,other normal.
image.png (51.7 KB)
code:
file_name_without_ext = Path(file_name).stem
Document = ap.Document(str(file_path))
resolution = ap.devices.Resolution(200)
…...stem document = ap.Document(str(file_path)) resolution...max_pages and page_count <= len(document.pages): new_file_name = f...